[NTG-context] Re: [ using horizontal table lines ]

2024-04-15 Thread Wolfgang Schuster
, with correct length, but above the wrong columns [...] diff: \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC\DC\DC\DC\DL[4]\DL[3]\AR \NC\DC\DC\DL[4]\DL[4]\AR There is (probably) a correct way to solve this. My suggestion is to switch to either natural table or extreme tables but it seems to me

[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
er two} > \input ward > \stoptext > > Greetings Lutz > Am 9. September 2023 20:11:55 MESZ schrieb Jim : >>Hi, >>I am creating a document which is divided with the unnumbered levels >>(\title, \subject, ...). >>I would like a table of contents sho

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi Wolfgang, On Sat, Sep 9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 22:34: >> Wolfgang, >> thanks very much for your help. As a long-time plain TeX user, but a >> ConTeXt n00b, that would have taken me a long time to figure out. >> Having said that (and

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
: > Jim schrieb am 09.09.2023 um 20:11: >> Hi, >> I am creating a document which is divided with the unnumbered levels >> (\title, \subject, ...). >> I would like a table of contents showing the names and page numbers, >> something like >> Bla

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 22:34: Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Jim : >Hi, > >I am creating a document which is divided with the unnumbered levels >(\title, \subject, ...). > >I would like a table of contents showing the names and page numbers, >something like > >Blah blah blah2 >Blah blah 4 >... > >Howeve

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 20:11: Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what I see in https

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] Disable continued captions for table parts

2023-08-22 Thread Alexey Kryukov
Dear list, probably a stupid question, but is it possible to have a table splitted across pages without adding labels to all subsequent table parts except the first one? In my book I have captions above tables (\setupcaption[table][location=top]), so they are expected to behave like normal

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 21:11:38 +0200 Wolfgang Schuster wrote: > What you can do here is to put the table together piece by piece with > the collecting > mechanism which collect parts of the table until you flush the whole > collection > at the end with the \stopcollecting comman

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 20:31: On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: Do you create the whole table with Lua? When this is the case a small change to the table section commands on the Lua side can fix your problems but otherwise a different approach

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: > Do you create the whole table with Lua? When this is the case a small > change to the table section > commands on the Lua side can fix your problems but otherwise a > different approach is needed. Hi Wolfgang, thanks fo

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 19:02: Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning

[NTG-context] Table head/body via lua

2023-08-18 Thread Alexey Kryukov
Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning commands, like \bTABLEhead, \eTABLEhead, bTABLEbody

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
> It's chapter_5 that's the problem, but how do you know what's causing > > the table of contents not to appear ? > depends on the error : the toc comes from the tuc file so if that

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Hans Hagen via ntg-context
On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? depends on the error : the toc comes from the tuc file so if that one is not made

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur a écrit : > Hi Hans, > Alright, I'll compile by integrating one component at a time to figure out > which one is causing th

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. Thanks Fabrice \startproduct[terminale-manual] \project[terminale-environment] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterTextStyle

Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > >

[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \compl

[NTG-context] natural table oddities

2023-04-01 Thread Henning Hraban Ramm via ntg-context
the header using: \bTD ... \eTD but I'm not sure what the consequences might be, if any. You lose the default bold heading so maybe that's all /bTH.../eTH is adding? Yes, I also found that out – either I sent an incomplete email, or I forgot to add my later “research”. 樂 TH (table header

Re: [NTG-context] natural table oddities

2023-03-27 Thread Bruce Horrocks via ntg-context
ould be an option. >> * I don’t understand the addressing options "start" and "one". Me neither. :) >> ## Formatting >> * maxwidth doesn’t seem to have an effect, neither on the whole table nor on >> a column. >> * textwidth works only for the whole table.

Re: [NTG-context] natural table oddities

2023-03-27 Thread Henning Hraban Ramm via ntg-context
t are formatted, but not the same column in header. I couldn’t find how to format columns in header. * I don’t understand the addressing options "start" and "one". ## Formatting * maxwidth doesn’t seem to have an effect, neither on the whole table nor on a column. * text

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Hello Hraban, thank you! indeed the trick is to use \startplacetable[location=90] Cheers Willi > On 25 Mar 2023, at 21:55, Henning Hraban Ramm via ntg-context > wrote: > > Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context: >> Hello everybody, >> in my proje

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context: Hello everybody, in my project is a table which does not fit the width of the page. Hence I need to rotate it. Rotating the table is ok, but the caption is not rotated. My question is how can I instruct ConTeXt to rotate the caption

[NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Hello everybody, in my project is a table which does not fit the width of the page. Hence I need to rotate it. Rotating the table is ok, but the caption is not rotated. My question is how can I instruct ConTeXt to rotate the caption and place it on the right side? My attempt: test.pdf

Re: [NTG-context] The same Table, im Math Modus?

2023-03-23 Thread Ursula Hermann via ntg-context
Dear Yanrui, many thanks, works great. Uschi Von: ntg-context im Auftrag von Li Yanrui (李延瑞) via ntg-context Gesendet: Donnerstag, 23. März 2023 01:56:07 An: mailing list for ConTeXt users Cc: Li Yanrui (李延瑞) Betreff: Re: [NTG-context] The same Table, im

Re: [NTG-context] The same Table, im Math Modus?

2023-03-22 Thread 李延瑞
Ursula Hermann via ntg-context 于2023年3月21日周二 20:45写道: > > > I’d like to do a Table lik this one > > [image: enter image description here] > > I have no example. How can I do that? > > > You can use xtable, e.g. \startxtable[frame=off,width=1cm,align=center] \startx

Re: [NTG-context] The same Table, im Math Modus?

2023-03-21 Thread Ursula Hermann via ntg-context
Von: Ursula Hermann Gesendet: Montag, 13. März 2023 12:51 An: 'mailing list for ConTeXt users' Betreff: Table I'd like to do a Table lik this one, is this possible with Math Modus? [enter image description here] I have no example. How can I do that? Many thanks Uschi Von: Ursula Hermann

[NTG-context] natural table oddities

2023-03-14 Thread Henning Hraban Ramm via ntg-context
If I format a column, e.g. \setupTABLE[c][-1][color=red], body and foot are formatted, but not the same column in header. (I found out, if I use TD instead of TH in the header, it works.) * I don’t understand the addressing options "start" and "one". ## Formatting * maxwidt

Re: [NTG-context] Table

2023-03-13 Thread Ursula Hermann via ntg-context
Dear Mikael! Many thanks, that works great! Uschi Von: ntg-context Im Auftrag von Mikael Sundqvist via ntg-context Gesendet: Montag, 13. März 2023 14:16 An: mailing list for ConTeXt users Cc: Mikael Sundqvist Betreff: Re: [NTG-context] Table Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM

Re: [NTG-context] Table

2023-03-13 Thread Mikael Sundqvist via ntg-context
Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context < ntg-context@ntg.nl> wrote: > I’d like to do a Table lik this one > > [image: enter image description here] > > I have no example. How can I do that? > > > > Many thanks > >

[NTG-context] Table

2023-03-13 Thread Ursula Hermann via ntg-context
I'd like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 13.08.2022 um 10:35: On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context wrote: I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Bruce Horrocks via ntg-context
> On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context > wrote: > > I have a 5-page table placed using > > \setupcaption [table] [way=bytext,prefixsegments=none] > \placetable[split]{My long table}{...} > > The caption for the first table page

[NTG-context] Changing the caption on a split table

2022-08-02 Thread Bruce Horrocks via ntg-context
I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page is "Table 1a My Long table"; for the second table page it is "Table 1b My long table" and so on

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
starttext \showframe \startbuffer row\currentxtablerow--col\currentxtablecolumn \stopbuffer \startbuffer[table] \startxtable[option={stretch, height}, align={lohi, middle}] \startxrow \dorecurse{5} {\startxcell[width=.115\textwidth]\inlinebuffer\

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
Hi Pablo, On Thu, Jun 30, 2022 at 04:15:10PM +0200, Pablo Rodriguez via ntg-context wrote: I’m not sure whether I’m totally missing your point, but I think this is a way that might achieve what you want: No, you aren't, and it almost does it, except when the fixed width column is other than

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
wframe \startbuffer row\currentxtablerow--col\currentxtablecolumn \stopbuffer \startbuffer[table] \startxtable[option={stretch, height}, align={lohi, middle}] \startxrow \startxcell[width=3cm, option=fixed]\inlinebuffer\stopxcell \dorecurse{5} {\star

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
like in LaTeX: We have a choice of table “packages”, but none of them covers my most common use cases. Same here. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Henning Hraban Ramm via ntg-context
not set up something in some context subsystem? Why would I make a table mechanism with no presets? Yes, presets are nice, and I appreciate the better performance, but if I can setup stuff like striped tables or some other “advanced” formatting without explicite settings within the table, I

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
Hi again, Hans, On Thu, Jun 30, 2022 at 10:26:58AM +0200, Hans Hagen via ntg-context wrote: How about the auto row height?  That'd be the only thing I'm missing. we don't have it for the vertical direction ... you can remind me later this year (to see if it is doable) Ah, OK. Thank you!

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Hans Hagen via ntg-context
On 6/30/2022 9:46 AM, Angel M Alganza via ntg-context wrote: On Thu, Jun 30, 2022 at 09:36:07AM +0200, Hans Hagen via ntg-context wrote: You're joking right? SInce when can one not set up something in some context subsystem? Why would I make a table mechanism with no presets? I see

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
On Thu, Jun 30, 2022 at 09:36:07AM +0200, Hans Hagen via ntg-context wrote: You're joking right? SInce when can one not set up something in some context subsystem? Why would I make a table mechanism with no presets? I see! :-) It's just more symbolic than in natural tables (which is better

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Hans Hagen via ntg-context
right. You're joking right? SInce when can one not set up something in some context subsystem? Why would I make a table mechanism with no presets? \starttext \setupxtable[suffix][align=middle,foregroundcolor=red] \setupxtable[blabla][foregroundstyle=slanted] \setupxtable[crap] [foregroundcolor

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
Hi Henning, On Thu, Jun 30, 2022 at 09:02:28AM +0200, Henning Hraban Ramm via ntg-context wrote: They’re also tedious, because you can’t setup rows/columns in advance (like \setupTABLE) – or did that change? I'm afraid you're right. Cheers, Ángel

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Henning Hraban Ramm via ntg-context
Am 30.06.22 um 08:40 schrieb Angel M Alganza via ntg-context: Hello, Hans, On Thu, Jun 30, 2022 at 08:16:53AM +0200, Hans Hagen via ntg-context wrote: \startxtable[option=stretch]   \startxrow   \startxcell[width=3cm,option=fixed] one \stopxcell Thank you very much, that does part of

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context
Hello, Hans, On Thu, Jun 30, 2022 at 08:16:53AM +0200, Hans Hagen via ntg-context wrote: \startxtable[option=stretch] \startxrow \startxcell[width=3cm,option=fixed] one \stopxcell Thank you very much, that does part of the trick (the column width). Is there a way to do the same for

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Hans Hagen via ntg-context
On 6/30/2022 7:43 AM, Angel M Alganza via ntg-context wrote: Hello, I want some tables to occupy 100% of \textwidth and \textheight and for all columns to be the same width except one or two that I want to specify and for all rows to be the same height except for one or two, that I want to

[NTG-context] Auto width and height on table cells

2022-06-29 Thread Angel M Alganza via ntg-context
Hello, I want some tables to occupy 100% of \textwidth and \textheight and for all columns to be the same width except one or two that I want to specify and for all rows to be the same height except for one or two, that I want to specify as well.. For the moment, I'm doing it "manually",

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext &

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Wolfgang Schuster via ntg-context
I sent a fix to the dev list. Wolfgang Joel via ntg-context schrieb am 29.05.2022 um 18:34: After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]  \HL         \NC {\bf Term} \NC

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
ate to ConTeXt, the code no longer seems to allow me > to \input a file within a table: > > \starttext > \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|] >      \HL >          \NC {\bf Term} \NC {\bf Definition} \NC\NR >      \HL >          \input test2.tex %<he

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Henning Hraban Ramm via ntg-context
Did you try \input{file.tex} ? (Just an idea, didn’t try.) Hraban Am 29.05.22 um 18:34 schrieb Joel via ntg-context: After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL

[NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex %<here you se

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Wolfgang Schuster via ntg-context
Steffen Wolfrum via ntg-context schrieb am 19.05.2022 um 12:44: do you have a MWE? the example from https://wiki.contextgarden.net/Tabulate gives an empty page: [...] You need \starttext and \stoptext in your document. The examples in the wiki don't need both commands because they are added

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Steffen Wolfrum via ntg-context
> Am 19.05.2022 um 08:14 schrieb Hans Hagen via ntg-context > : > > On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote: >> Hi, >> I just found an old mail from 30 May 2008: >> How do I split not only TABLE but cells? It was not possible then. >> \s

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Hans Hagen via ntg-context
On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote: Hi, I just found an old mail from 30 May 2008: How do I split not only TABLE but cells? It was not possible then. \starttext \bTABLE[split=yes,option=stretch] \bTR \bTD \input tufte \input knuth Hello world ... \eTD \bTD \input

[NTG-context] split TABLE cells

2022-05-18 Thread Steffen Wolfrum via ntg-context
Hi, I just found an old mail from 30 May 2008: How do I split not only TABLE but cells? It was not possible then. \starttext \bTABLE[split=yes,option=stretch] \bTR \bTD \input tufte \input knuth Hello world ... \eTD \bTD \input tufte \eTD \bTD \input knuth \eTD \eTR \bTR \bTD Test \eTD \bTD

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread śrīrāma via ntg-context
On 5/15/22 6:18 PM Bruce Horrocks wrote: > Too slow!! > > I'd already added https://wiki.contextgarden.net/ TABLE#Tables_in_page_headers. Hmm. I searched the wiki for '\bTABLEnested' and this did not show up there. I just now checked the edit history now and you seemed to have adde

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Bruce Horrocks via ntg-context
Too slow!! I'd already added https://wiki.contextgarden.net/TABLE#Tables_in_page_headers. > On 15 May 2022, at 12:00, śrīrāma via ntg-context wrote: > > On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote: >> Use the TABLEnested environment in your document header

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread śrīrāma via ntg-context
Enested > \stopsetups Splendid (as always)! Definitely a better solution for Stefan's document. I added a section in the wiki making a note of this: https://wiki.contextgarden.net/TABLE#Headers_with_TABLEs Thanks Wolfgang! Until now, I did not even know of the 'nested' typ

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 13.05.2022 um 09:00: Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Use the TABLEnested environment in your document header which

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Wow, thank you very, very much! On Sun, 15 May 2022, 05:35 śrīrāma, wrote: > On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote: > > Dear list I need your help with a table that seems to completely screw up > > the page when it spans across multiple pages. I'

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote: > Dear list I need your help with a table that seems to completely screw up > the page when it spans across multiple pages. I'm attaching all the > necessary files. > > Kind regards, > Stefan This seems to be a kno

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Kind regards, Stefan \input fonts \usetypescript[ibmplex][uc] \setupbodyfont[ibmplex,rm,9pt] \setuppapersize[A4] \setuplayout[ leftedge

Re: [NTG-context] recursion in a table

2022-05-02 Thread Hans Hagen via ntg-context
On 5/2/2022 2:30 AM, Aditya Mahajan via ntg-context wrote: \expanded{\NC \recurselevel \noexpand\NC ... } There is no need for \noexpand before \NC. Even \NR is protected. In MKIV there are some more sensitive ones like \FR but in LMTX these are defined as \noaligned which permits them

Re: [NTG-context] recursion in a table

2022-05-01 Thread Aditya Mahajan via ntg-context
On Sun, 1 May 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, > I was playing with the example from > https://wiki.contextgarden.net/Scaling_Rotating_Mirroring_Clipping#Location_parameter > > and tried to put it in a tabulate: > > > \useMPlibrary[dum] >

[NTG-context] recursion in a table

2022-05-01 Thread Henning Hraban Ramm via ntg-context
Hi, I was playing with the example from https://wiki.contextgarden.net/Scaling_Rotating_Mirroring_Clipping#Location_parameter and tried to put it in a tabulate: \useMPlibrary[dum] \setupexternalfigures[width=3em,height=2em,frame=on,] %\def\TXT{\ruledhbox{\bf(XyX)}}

[NTG-context] Why can I no longer place \input inside table after update?

2022-04-23 Thread Joel via ntg-context
ing an argument." Before the update, this code worked fine. How can I \input a file while inside a table environment, as above? Thanks, --Joel ___ If your question is of interest to others as well, please add a

Re: [NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread Bruce Horrocks via ntg-context
ers a lot. Sometimes only the last column contains decimal > numbers, sometimes the last two columns. Not sure what will happen here - try it and see. Whenever my table layouts go wildly wrong, Context usually manage

[NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread juh+ntg-context--- via ntg-context
Hi all, I include tables via csv files like this \processdatabasefile[test][test.csv] I was able to style the tables with this: \setupTABLE [ split=yes, header=repeat, option=stretch, loffset=.5ex,roffset=.5ex] \setupTABLE [row] [odd] [background=color,backgroundcolor=hs-hellblau,]

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:45 PM, andrei--- via ntg-context wrote: Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X <https://imgur.com/a/Ca3By6X> Each row in the table corresponds to an item that has following data to print in the

[NTG-context] Custom Table of Contents

2022-01-20 Thread andrei--- via ntg-context
Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X Each row in the table corresponds to an item that has following data to print in the table of contents: page, total number of pages which the item spans, name of the item

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-09 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 08.01.2022 um 23:57: I would suggest not to use \starttable at all. To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc. I agree natural tables

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Aditya Mahajan via ntg-context
On Sat, 8 Jan 2022, Joel via ntg-context wrote: > I created a table that has some cells span multiple rows. This works good > with cells that span an odd-number of rows, but when I try to span 4 rows, > the text isn't quite vertically centered. How can I get the cell with the > te

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
Thank you! The code is much easier to understand than the other way I was trying to use. --Joel On Saturday, January 8, 2022, 04:00:12 PM MST, Willi Egger via ntg-context wrote: I would suggest not to use \starttable at all. To me the most suitable table environment for such a table

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Willi Egger via ntg-context
I would suggest not to use \starttable at all. To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc. \setupTABLE[c][1][leftframe=off,width=40mm] \setupTABLE[c][2][rightframe=off, width=60mm

[NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
I created a table that has some cells span multiple rows. This works good with cells that span an odd-number of rows, but when I try to span 4 rows, the text isn't quite vertically centered. How can I get the cell with the text "Archaeon Eon" to be a little lower, so it is centered

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, I should have thought of that. Thanks (again) Wolfgang! /Mikael On Tue, Jan 4, 2022 at 5:22 PM Wolfgang Schuster wrote: > > Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: > > Oh, thanks! > > > > I can simply wrap my table in a framed environment,

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. You have to put the table in a box to change the vertical position

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. /Mikael On Tue, Jan 4, 2022 at 12:12 PM kauśika wrote: > > On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqvist v

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread kauśika via ntg-context
On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqvist via ntg-context wrote: > What is the correct way to get the last line, "The last foo", > to automatically be placed below the second table? There is only one table in your example. > I still want the first line of

[NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Hi, This is probably simple, but I cannot combine the right keys to get it to work. What is the correct way to get the last line, "The last foo", to automatically be placed below the second table? I still want the first line of the table to align vertically with the text Bar. /Mikael

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
On Friday, December 31, 2021 7:53:08 AM IST Michael Urban via ntg-context wrote: > Or is there some more foolproof way of getting those headers into the right > place? Here is something I quickly wrote up: First, define some labels for the columns of the ToC —

[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
I am playing around with imitating the design of fiction books from the early 20th century. The table of contents for these books often has small headings, 'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns. How might this best be accomplished in ConTeXt? Just add a carefully

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
On 12/24/2021 5:45 PM, Jason Ross via ntg-context wrote: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 16:45, Jason Ross via ntg-context > wrote: > > Dear list, > > Is it possible to set the maximum table of contents depth to a number rather > than providing an explicit list of section names? > > > Background: > > I am develop

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
understand. The issue I see is that this introduces a coupling between section structure and table of contents that could be confusing for users, and also makes the interface more complicated by adding another keyword. I am trying to take advantage of the flexibility of ConTeXt for most

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
create a table of contents with depth `n` regardless of the sectioning used. Jason ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
ay _in ConTeXt_ to create a table of contents with depth `n` regardless of the sectioning used. Jason ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
it should be possible to map toc:2 to a combinedlist definition. I can't require the user to use more document keywords to get the same functionality they already have with the other exporters by default. I am really specifically looking for a way _in ConTeXt_ to create a table of contents

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Jason Ross via ntg-context hat am 24.12.2021 22:22 geschrieben: On 12/24/21 1:20 PM, Denis Maier via ntg-context wrote: >> >> I see. >> >> Next try:

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:20 PM, Denis Maier via ntg-context wrote: I see. Next try: add a new option "#+Context_Section_Levels: Thus will take an alist. Now you'll know about the user defined structure levels and the toc option can be translated to the corresponding setting. (Here again, you can

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Denis Maier via ntg-context hat am 24.12.2021 22:13 geschrieben: Jason Ross via ntg-context hat am 24.12.2021 18:53 geschrieben: On 12/24/21 9:49

  1   2   3   4   5   6   7   8   9   10   >